package com.pmpd.activity.po;

import java.io.Serializable;

public class ActivityTask implements Serializable {
    /**
     * 
     * 表字段 : a_activity_task.id
     */
    private Long id;

    /**
     * 
     * 表字段 : a_activity_task.activity_id
     */
    private Long activityId;

    /**
     * 语言(预留字段)
     * 表字段 : a_activity_task.lang
     */
    private String lang;

    /**
     * 类型，1 成长派，2挑战派
     * 表字段 : a_activity_task.type
     */
    private Integer type;

    /**
     * 任务内容描述
     * 表字段 : a_activity_task.comment
     */
    private String comment;

    /**
     * 第几天任务,
     * 表字段 : a_activity_task.task_day
     */
    private Integer taskDay;

    /**
     * 计步目标 单位米
     * 表字段 : a_activity_task.step_goal
     */
    private Integer stepGoal;

    /**
     * 睡眠目标，单位分钟
     * 表字段 : a_activity_task.sleep_goal
     */
    private Integer sleepGoal;

    /**
     * 跑步距离目标，单位米
     * 表字段 : a_activity_task.run_goal
     */
    private Integer runGoal;

    /**
     * 1 有效，2 无效
     * 表字段 : a_activity_task.status
     */
    private Integer status;

    /**
     * 
     * 表字段 : a_activity_task.create_time
     */
    private Long createTime;

    /**
     * 
     * 表字段 : a_activity_task.update_time
     */
    private Long updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table a_activity_task
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table a_activity_task
     *
     * @mbggenerated
     */
    public ActivityTask(Long id, Long activityId, String lang, Integer type, String comment, Integer taskDay, Integer stepGoal, Integer sleepGoal, Integer runGoal, Integer status, Long createTime, Long updateTime) {
        this.id = id;
        this.activityId = activityId;
        this.lang = lang;
        this.type = type;
        this.comment = comment;
        this.taskDay = taskDay;
        this.stepGoal = stepGoal;
        this.sleepGoal = sleepGoal;
        this.runGoal = runGoal;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table a_activity_task
     *
     * @mbggenerated
     */
    public ActivityTask() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.id
     *
     * @return the value of a_activity_task.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.id
     *
     * @param id the value for a_activity_task.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.activity_id
     *
     * @return the value of a_activity_task.activity_id
     *
     * @mbggenerated
     */
    public Long getActivityId() {
        return activityId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.activity_id
     *
     * @param activityId the value for a_activity_task.activity_id
     *
     * @mbggenerated
     */
    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.lang
     *
     * @return the value of a_activity_task.lang
     *
     * @mbggenerated
     */
    public String getLang() {
        return lang;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.lang
     *
     * @param lang the value for a_activity_task.lang
     *
     * @mbggenerated
     */
    public void setLang(String lang) {
        this.lang = lang == null ? null : lang.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.type
     *
     * @return the value of a_activity_task.type
     *
     * @mbggenerated
     */
    public Integer getType() {
        return type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.type
     *
     * @param type the value for a_activity_task.type
     *
     * @mbggenerated
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.comment
     *
     * @return the value of a_activity_task.comment
     *
     * @mbggenerated
     */
    public String getComment() {
        return comment;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.comment
     *
     * @param comment the value for a_activity_task.comment
     *
     * @mbggenerated
     */
    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.task_day
     *
     * @return the value of a_activity_task.task_day
     *
     * @mbggenerated
     */
    public Integer getTaskDay() {
        return taskDay;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.task_day
     *
     * @param taskDay the value for a_activity_task.task_day
     *
     * @mbggenerated
     */
    public void setTaskDay(Integer taskDay) {
        this.taskDay = taskDay;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.step_goal
     *
     * @return the value of a_activity_task.step_goal
     *
     * @mbggenerated
     */
    public Integer getStepGoal() {
        return stepGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.step_goal
     *
     * @param stepGoal the value for a_activity_task.step_goal
     *
     * @mbggenerated
     */
    public void setStepGoal(Integer stepGoal) {
        this.stepGoal = stepGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.sleep_goal
     *
     * @return the value of a_activity_task.sleep_goal
     *
     * @mbggenerated
     */
    public Integer getSleepGoal() {
        return sleepGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.sleep_goal
     *
     * @param sleepGoal the value for a_activity_task.sleep_goal
     *
     * @mbggenerated
     */
    public void setSleepGoal(Integer sleepGoal) {
        this.sleepGoal = sleepGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.run_goal
     *
     * @return the value of a_activity_task.run_goal
     *
     * @mbggenerated
     */
    public Integer getRunGoal() {
        return runGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.run_goal
     *
     * @param runGoal the value for a_activity_task.run_goal
     *
     * @mbggenerated
     */
    public void setRunGoal(Integer runGoal) {
        this.runGoal = runGoal;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.status
     *
     * @return the value of a_activity_task.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.status
     *
     * @param status the value for a_activity_task.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.create_time
     *
     * @return the value of a_activity_task.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.create_time
     *
     * @param createTime the value for a_activity_task.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column a_activity_task.update_time
     *
     * @return the value of a_activity_task.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column a_activity_task.update_time
     *
     * @param updateTime the value for a_activity_task.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table a_activity_task
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", activityId=").append(activityId);
        sb.append(", lang=").append(lang);
        sb.append(", type=").append(type);
        sb.append(", comment=").append(comment);
        sb.append(", taskDay=").append(taskDay);
        sb.append(", stepGoal=").append(stepGoal);
        sb.append(", sleepGoal=").append(sleepGoal);
        sb.append(", runGoal=").append(runGoal);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}